MailjetPlugin\Widget\WP_Mailjet_Subscribe_Widget D

Total Complexity 157
Dependencies 9
Dependents 0
Total lines 1,003
Lines of code 777
Logical lines of code 342
Comment lines 98
Methods 19
Properties 4

Methods 19

Method Rating Maintainability Complexity Lines of code
checkTransition()
D
18
33 332
update()
C
38 30 55
sendSubscriptionEmail()
C
34 28 80
activateConfirmSubscriptionUrl()
C
32 25 100
widget()
A
47 9 36
form()
A
47 8 35
getInputProperties()
A
48 7 35
wp_ajax_mailjet_add_contact_property()
S
65 3 8
getMailjetContactProperties()
S
65 3 10
__construct()
S
55 1 20
getUpdateArrayKeysPairs()
S
56 1 18
registerCustomLanguageTranslations()
S
57 1 18
getSubscriptionOptionsSettings()
S
72 2 6
get_widget_slug()
S
82 1 3
widget_textdomain()
S
73 1 4
register_widget_front_styles()
S
77 1 3
register_widget_scripts()
S
73 1 4
register_widget_front_scripts()
S
67 1 7
flush_widget_cache()
S
80 1 3